package net.minecraft.src;

import java.util.ArrayList;
import java.util.List;

import net.minecraft.client.Minecraft;

public class mod_LoaderPPH extends BaseMod
{

	public mod_LoaderPPH()
	{
		System.out.println("ModLoader PPH Beta 1.8.1 Initializing...");
		minecraft = ModLoader.getMinecraftInstance();
		player = new EntityPlayerPPH(minecraft);
		ModLoader.SetInGameHook(this, true, true);
	}
	
	public void load()
	{
	}

	public String getVersion()
	{
		return "PPH ModLoader Extension - 0.0.1";
	}

	public static EntityPlayerPPH getPlayer()
	{
		return player;
	}

	public boolean OnTickInGame(float f, Minecraft minecraft)
	{
		player.onTick(f, minecraft, false);
		return true;
	}

	public static void AddTextureFX(TextureFX texturefx)
	{
		System.out.println("Adding TextureFX " + texturefx.getClass().getName());
		minecraft.renderEngine.registerTextureFX(texturefx);
	}

	public static void SpawnParticle(EntityFX particle)
	{
		minecraft.effectRenderer.addEffect(particle);
	}

	private static EntityPlayerPPH player;
	private static Minecraft minecraft;
}
